package com.gxa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//  员工实体
@ApiModel(value = "用户资料实体")
public class Employee {
  @ApiModelProperty(name = "employee_id",notes ="员工编号" ,required = false,dataType = "Integer")
  private Integer employee_id;
  @ApiModelProperty(name = "employee_name",notes ="员工姓名" ,required = true,dataType = "String")
  private String employee_name;
  @ApiModelProperty(name = "employee_tel",notes ="员工电话" ,required = false,dataType = "Integer")
  private String employee_tel;
  @ApiModelProperty(name = "employee_password",notes ="登录密码" ,required = true,dataType = "String")
  private String employee_password;
  @ApiModelProperty(name = "employee_login",notes ="登录账号" ,required = true,dataType = "String")
  private String employee_login;
  @ApiModelProperty(name = "dept_id",notes ="部门编号" ,required = false,dataType = "Integer")
  private Integer dept_id;
  private String employee_role;
  @ApiModelProperty(name = "employee_clientlimit",notes ="客户数量限制" ,required = false,dataType = "Integer")
  private Integer employee_clientlimit;
  private String employee_head;
  private Integer employee_sex;
  @ApiModelProperty(name = "employee_sal",notes ="提成" ,required = false,dataType = "String")
  private String employee_sal;
  private String employee_email;
  private Integer employee_card;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date employee_birthday;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date employee_jointime;
  private String employee_hometown;
  private String employee_address;
  @ApiModelProperty(name = "employee_emergency_person",notes ="紧急联系人" ,required = false,dataType = "String")
  private String employee_emergency_person;
  @ApiModelProperty(name = "employee_emergency_tel",notes ="紧急联系人电话" ,required = false,dataType = "String")
  private String employee_emergency_tel;
  @ApiModelProperty(name = "employee_state",notes ="在职状态" ,required = false,dataType = "Integer")
  private Integer employee_state;
  @ApiModelProperty(name = "dept",notes ="部门实体" ,required = false,dataType = "Dept")
  private Dept dept;
  @ApiModelProperty(name = "role",notes ="角色实体" ,required = false,dataType = "Role")
  private Role role;
  @ApiModelProperty(name = "anthority",notes ="权限实体" ,required = false,dataType = "Anthority")
  private Anthority anthority;



  public Integer getEmployee_id() {
    return employee_id;
  }

  public void setEmployee_id(Integer employee_id) {
    this.employee_id = employee_id;
  }

  public String getEmployee_name() {
    return employee_name;
  }

  public void setEmployee_name(String employee_name) {
    this.employee_name = employee_name;
  }

  public String getEmployee_tel() {
    return employee_tel;
  }

  public void setEmployee_tel(String employee_tel) {
    this.employee_tel = employee_tel;
  }

  public void setEmployee_emergency_tel(String employee_emergency_tel) {
    this.employee_emergency_tel = employee_emergency_tel;
  }

  public String getEmployee_password() {
    return employee_password;
  }

  public void setEmployee_password(String employee_password) {
    this.employee_password = employee_password;
  }

  public String getEmployee_login() {
    return employee_login;
  }

  public void setEmployee_login(String employee_login) {
    this.employee_login = employee_login;
  }

  public Integer getDept_id() {
    return dept_id;
  }

  public void setDept_id(Integer dept_id) {
    this.dept_id = dept_id;
  }

  public String getEmployee_role() {
    return employee_role;
  }

  public void setEmployee_role(String employee_role) {
    this.employee_role = employee_role;
  }

  public Integer getEmployee_clientlimit() {
    return employee_clientlimit;
  }

  public void setEmployee_clientlimit(Integer employee_clientlimit) {
    this.employee_clientlimit = employee_clientlimit;
  }

  public String getEmployee_head() {
    return employee_head;
  }

  public void setEmployee_head(String employee_head) {
    this.employee_head = employee_head;
  }

  public Integer getEmployee_sex() {
    return employee_sex;
  }

  public void setEmployee_sex(Integer employee_sex) {
    this.employee_sex = employee_sex;
  }

  public String getEmployee_sal() {
    return employee_sal;
  }

  public void setEmployee_sal(String employee_sal) {
    this.employee_sal = employee_sal;
  }

  public String getEmployee_email() {
    return employee_email;
  }

  public void setEmployee_email(String employee_email) {
    this.employee_email = employee_email;
  }

  public Integer getEmployee_card() {
    return employee_card;
  }

  public void setEmployee_card(Integer employee_card) {
    this.employee_card = employee_card;
  }

  public Date getEmployee_birthday() {
    return employee_birthday;
  }

  public Date getEmployee_jointime() {
    return employee_jointime;
  }

  public void setEmployee_jointime(Date employee_jointime) {
    this.employee_jointime = employee_jointime;
  }

  public void setEmployee_birthday(Date employee_birthday) {
    this.employee_birthday = employee_birthday;
  }

  public String getEmployee_hometown() {
    return employee_hometown;
  }

  public void setEmployee_hometown(String employee_hometown) {
    this.employee_hometown = employee_hometown;
  }

  public String getEmployee_address() {
    return employee_address;
  }

  public void setEmployee_address(String employee_address) {
    this.employee_address = employee_address;
  }

  public String getEmployee_emergency_person() {
    return employee_emergency_person;
  }

  public void setEmployee_emergency_person(String employee_emergency_person) {
    this.employee_emergency_person = employee_emergency_person;
  }

  public String getEmployee_emergency_tel() {
    return employee_emergency_tel;
  }

  public Integer getEmployee_state() {
    return employee_state;
  }

  public void setEmployee_state(Integer employee_state) {
    this.employee_state = employee_state;
  }

  public Dept getDept() {
    return dept;
  }

  public void setDept(Dept dept) {
    this.dept = dept;
  }

  public Role getRole() {
    return role;
  }

  public void setRole(Role role) {
    this.role = role;
  }

  public Anthority getAnthority() {
    return anthority;
  }

  public void setAnthority(Anthority anthority) {
    this.anthority = anthority;
  }
}
